The online racing simulator
Searching in All forums
(113 results)
G. Dierckx
S2 licensed
Quote from Victor :what i'd do next is debug all your received ncn packets (log them in hex before you even process the packet) and see if you actually received all ncn's or not. If you do, there may be a bug in your ncn packet processing. If you don't, then LFS might be omitting something or even weirder.
I've personally not come across missing ncn packets though, unless i haven't noticed. But that's why i recommend to debug at the source first before concluding it's an LFS bug.

And the entry wasn't an AI, was it? You won't get NCN's for them, but of course the NPL should still have the UCID of the owner of the AI.

yeah and what Stuff said - i don't think UCID and PLID are usually the same. Better check your NCN and NPL processing functions

well, I tried that and it didn't receive tho, but I reinited the server and then there were no problems at all.. But I don't think it's an LFS bug, I'm gona start a clean project and add packet after packet (ain't that much work tho) and see where it goes wrong..
G. Dierckx
S2 licensed
Quote from Stuff :Hmm, if I read your list right, are your connection IDs the same as your player IDs? Thats usually not the case afaik. Connection IDs go from 0 (host) to number_connected (not including AI) sequentially. Your player IDs look right as I think they are semi random. I dunno maybe I'm missing something. And you say its the same user? Maybe check something in the user name that could be throwing off your code? That ^2 and ^3 look unique to me

Nono, both were Unique id's, but also a NPL contains the Unique idea, that was just to check if my own insim didn't mixed up the clients
G. Dierckx
S2 licensed
Quote from Krammeh :It could just be the fact that it has a logged "movement" hense the MCI fire, but, they have already left :P

Nope, I started it 10 times again the insim and each time the same problem, same user unless the user leaves it doesn't has a problem
weird NCN problem
G. Dierckx
S2 licensed
I had a bug in my MCI package but now it seems to be that the bug is not in the mci package but i didn't receive the connection his details... so the user is only joined as player but not as connection:

When I list the details:
//Unique playerid / Conn Playerid -username
//Players List:
17/17 - Mr. hansen
4/4 - mikus
60/60 - ergin
30/30 - McTw1st
42/42 - Wavedoctor
47/47 - HighRoad
18/18 - spiritless
31/31 - G. Dierckx
62/62 - ToXiC10
56/56 - defille20
39/39 - Paradam
23/23 - racer325
9/9 - jamodabestdood
53 - ^2minty^3moose error -> no connection found
70/70 - fumanshu3
73/73 - hipomenes2
71/71 - canerman
43/43 - b0ss
15/15 - royk1991
32/32 - 2k7markcfc
55/55 - robbo01

//Connections list:
0 - spectating
30/30 - McTw1st playing
17/17 - Mr. hansen playing
4/4 - mikus playing
18/18 - spiritless playing
60/60 - ergin playing
15/15 - royk1991 playing
62/62 - ToXiC10 playing
32/32 - 2k7markcfc playing
73/73 - hipomenes2 playing
47/47 - HighRoad playing
55/55 - robbo01 playing
71/71 - canerman playing
42/42 - Wavedoctor playing
39/39 - Paradam playing
56/56 - defille20 playing
31/31 - G. Dierckx playing
43/43 - b0ss playing
9/9 - jamodabestdood playing
64 - kimberly spectating
23/23 - racer325 playing
70/70 - fumanshu3 playing

and ass u can see in the Connections list there is no Unique id 53...

Does anybody know what it could be? (no exception was trown at the NCN event)
G. Dierckx
S2 licensed
jeah i figured out that thats the way of doing it, only it seems to be that the message from going out of bounds is differen from when u hit such a AX guy wich says wich direction you have to go. (just a detail)
G. Dierckx
S2 licensed
Quote from dougie-lampkin :insim.txt says IS_PEN is for the AX route checker, which send a penalty when you hit it (and specs you)

well, I used it and gave it say a massage each time the PEN was received, works find if u speed it pits but nothing when i got out of track -> to spectate

But i could use tho the MSO from "" + nickname + " took the wrong route"
G. Dierckx
S2 licensed
hmm IS_PEN didn't worked :s it wasn't send when i got out of bounds
G. Dierckx
S2 licensed
Quote from Stuff :You can use IS_PEN. It has a reason enum, one of which is PENR_WRONG_WAY. Or you might be able to use the route checkers and other marshal objects. Maybe some other packet is sent when those are driven over, or the IS_PLL like dougie said.

but PENR_WRONG_WAY will that be sent if u fly off track or drive int he wrong direction?
G. Dierckx
S2 licensed
Nice, great tut!
G. Dierckx
S2 licensed
nobody?
detecting took the wrong route
G. Dierckx
S2 licensed
Hi, I was thinking, is there anyway to detect if someone took the wrong route or is the only thing i can use the message in the server %nickname% took the wrong route?

Greetz Glenn
Last edited by G. Dierckx, .
G. Dierckx
S2 licensed
Here some of my ideas for making a InSim app:
- possible to add ip adress in a connection (to use with other applications eg: webapplications)
- ping users (to make a low ping server without anybody lagging)
- a packet to send a car-reset to a user (with a true / false boolean to repair the car or not)

Just some things wich could be handy I guess..
G. Dierckx
S2 licensed
Well, I had the same problem I just used the G25 box and putted it behind the pedals and for my chair (wich is on wheels), just put an old trouser under it so the wheels can't roll
FGED GREDG RDFGDR GSFDG